package com.ry.service;

import com.ry.model.dto.UserDTO;
import com.ry.model.entity.User;
import com.ry.model.vo.TokenVo;

/**
 * @author ry
 * @since 2021-11-09 17:15
 **/
public interface TokenService {
    String login(User user);

    UserDTO getUserByToken(String token);
}
